<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
class AdminUserMenuMRelation extends Model
{
    //
    protected $table = 'admin_user_menu_m_relation';

    protected $fillable = [
        'user_id', 'menu_id'
    ];

    protected $hidden = [
        'deleted_at',
    ];
    public function menuinfo(){
        return $this->belongsTo('App\Model\AdminRoleMenuM','menu_id','id');
    }
}
